package com.hsgene.order.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.consumables.domain.v1.GeneticGoods;
import com.hsgene.consumables.domain.v1.GeneticGoodsApplyHistory;
import com.hsgene.order.service.api.ConsumablesGoodsService;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wangbing
 * @version 1.0, 2018/12/12
 */
@Component
public class ConsumablesGoodsServiceImpl implements ConsumablesGoodsService {
    @Override
    public ApiResult<List<GeneticGoods>> queryGeneticGoods(String ids) {
        return ApiResult.fail(CommonErrorCode.CONSUMABLES_SERVICE_NOT_AVAILABLE);
    }

    @Override
    public ApiResult<List<GeneticGoodsApplyHistory>> queryServantGoods(String groundServantId) {
        return ApiResult.fail(CommonErrorCode.CONSUMABLES_SERVICE_NOT_AVAILABLE);
    }
}
